package cn.gok.common.entity.backstage;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("g_picture")
public class Picture {

    @TableId(value = "PICTURE_ID",type = IdType.AUTO)
    private Long pictureId;

    @TableField("PICTURE_TITLE")
    private String pictureTitle;

    @TableField("PREF_TITLE")
    private String prefTitle;

    @TableField("KEYWORDS")
    private String keywords;

    @TableField("RELATION_ID")
    private String relationId;

    @TableField("PIC_CATEGORY")
    private Long picCategory;

    @TableField("RELATION_TYPE")
    private Integer relationType;

    @TableField("AUTHOR")
    private String author;

    @TableField("SOURCE")
    private String source;

    @TableField("IS_ALLOW_COMMENT")
    private Boolean isAllowComment;

    @TableField("THUMB_IMG")
    private String thumbImg;

    @TableField("REAL_IMG")
    private String realImg;

    @TableField("ORIGINAL_IMG")
    private String originalImg;

    @TableField("LINK_URL")
    private String linkUrl;

    @TableField("WIDTH")
    private String width;

    @TableField("HEIGHT")
    private String height;

    @TableField("SORT_ORL")
    private Integer sortOrl;

    @TableField("STATUS")
    private Boolean status;

    @TableField("DEPLOY_TIME")
    private String deployTime;

    @TableField("OUTLINE_TIME")
    private String outlineTime;

    @TableField("IS_MASTER")
    private Boolean isMaster;

    @TableField("CREATE_TIME")
    private String createTime;

    @TableField("CREATE_BY")
    private String createBy;

    @TableField("UPDATE_TIME")
    private String updateTime;

    @TableField("UPDATE_BY")
    private String updateBy;

    @TableField("ABSTRACTS")
    private String abstracts;

    @TableField("PIC_DESC")
    private String picDesc;

}